package com.magina.common.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TestSortInnerDeepModel {

    private int intInnerDeepColumn;

    private String strInnerDeepColumn;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dateInnerDeepColumn;

    @Override
    public String toString() {
        return "TestSortInnerDeepModel{" +
                "intInnerDeepColumn=" + intInnerDeepColumn +
                ", strInnerDeepColumn='" + strInnerDeepColumn + '\'' +
                ", dateInnerDeepColumn=" + dateInnerDeepColumn +
                '}';
    }
}
